package com.ms.education.course.mapper;

import com.ms.education.course.entity.Classroom;
import com.ms.education.course.entity.Course;
import com.ms.education.course.entity.PushSchedule;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

import java.util.List;

/**
 * <p>
 * 推送计划 Mapper 接口
 * </p>
 *
 * @author ms
 * @since 2023-03-06
 */
public interface PushScheduleMapper extends BaseMapper<PushSchedule> {

    List<Course> getTodayPushCourses();

    List<Classroom> getTodayPushClassrooms();

    //查询计划包含的课程
    List<Course> getPushCourse(Integer id);

    //查询计划包含的班级
    List<Classroom> getPushClass(Integer id);
}
